com.applovin.sdk.AppLovinAdVideoPlaybackListener |
This interface defines a listener to ad video playback state. All registered listeners will be notified when a video ad changes to a relevant state. If a given ad is not a video ad, no video callbacks will be triggered.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Triggered when a video begins playing in a video advertisement.
| |||||||||||
Triggered when a video stops playing in a video advertisement.
|
Triggered when a video begins playing in a video advertisement. If your app plays other videos or music, please pause them upon receiving this callback.
ad | Ad in which playback began. |
---|
Triggered when a video stops playing in a video advertisement.
If your app was playing music when the video began, this is a good opportunity to resume it. If your app was playing video or otherwise requires user interaction, you probably want to use adHidden()
in AppLovinAdDisplayListener
instead.
ad | Ad in which playback ended. |
---|---|
percentViewed | Percent of the video which the user watched. |
fullyWatched | Whether or not the video was watched to, or very near, completion. This parameter is a simply convenience and is computed as (percentViewed >= 95) .
|